// To parse this JSON data, do
//
//     final createQuoteResult = createQuoteResultFromJson(jsonString);

import 'dart:convert';

CreateQuoteResult createQuoteResultFromJson(String str) =>
    CreateQuoteResult.fromJson(json.decode(str));

String createQuoteResultToJson(CreateQuoteResult data) =>
    json.encode(data.toJson());

class CreateQuoteResult {
  String? message;
  CreateQuoteData? result;
  int? status;

  CreateQuoteResult({
    this.message,
    this.result,
    this.status,
  });

  factory CreateQuoteResult.fromJson(Map<String, dynamic> json) =>
      CreateQuoteResult(
        message: json["message"],
        result: CreateQuoteData.fromJson(json["result"]),
        status: json["status"],
      );

  Map<String, dynamic> toJson() => {
        "message": message,
        "result": result?.toJson(),
        "status": status,
      };
}

class CreateQuoteData {
  String id;
  String quoteNumber;

  CreateQuoteData({
    required this.id,
    required this.quoteNumber,
  });

  factory CreateQuoteData.fromJson(Map<String, dynamic> json) =>
      CreateQuoteData(
        id: json["id"],
        quoteNumber: json["quoteNumber"],
      );

  Map<String, dynamic> toJson() => {
        "id": id,
        "quoteNumber": quoteNumber,
      };
}
